//
// Created by ezio on 19-11-29.
//



#include "CameraApi.h"
#include "common_define.h"


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/prctl.h>
#include <sys/select.h>


#include <errno.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>

void add_for_test(void);
int calc_status(stcamera_param buf_trans);
void get_camera_param(stcamera_param * stcameraParam);
int configure_socket(int *fd,struct sockaddr_in *server_addr,struct sockaddr_in *client_addr,int *cln_sock);
int handshake_with_client(int cln_sock,fd_set myset,stcamera_param *stcameraParam_);


